<div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">
            <li class="layui-nav-item layui-nav-itemed">
                <a class="" href="javascript:;">活动管理</a>
                <dl class="layui-nav-child">
                    <?php if($this->userInfo["role_id"] == 1 || $this->userInfo["role_id"]==2 || $this->userInfo["role_id"]==3 || $this->userInfo["role_id"]==4){?>
                    <dd  class="<?=strpos("material/material/index",$menu) === 0 ? "layui-this" : ""?>" ><a href="<?=base_url("material/material/index")?>">素材管理</a></dd>
                    <?php }?>
                    <?php if($this->userInfo["role_id"] == 1 || $this->userInfo["role_id"] >= 10  || $this->userInfo["role_id"]==2 || $this->userInfo["role_id"]==3 || $this->userInfo["role_id"]==4){?>
                    <dd><a class="<?=strpos("material/check_user_material/index?type=1",$menu) === 0 ? "layui-this" : ""?>" href="<?=base_url("material/check_user_material/index?type=1")?>">用户配音素材审核</a></dd>
                    <?php }?>
                    <?php if($this->userInfo["role_id"] == 1){?>
                        <dd><a class="<?=strpos("material/music/music",$path) === 0 ? "layui-this" : ""?>" href="<?=base_url("material/music/music")?>">配音入口开关</a></dd>
                    <?php }?>
                    <?php if($this->userInfo["role_id"] == 1){?>
                        <dd><a class="<?=strpos("statistics/statistics/pv",$menu) === 0 ? "layui-this" : ""?>" href="<?=base_url("statistics/statistics/pv")?>">数据统计</a></dd>
                    <?php }?>
                    <?php if($this->userInfo["role_id"] == 1  || $this->userInfo["role_id"]==2 || $this->userInfo["role_id"]==3 || $this->userInfo["role_id"]==4){?>
                        <dd><a class="<?=strpos("activity/HotContent/examineAll",$menu) === 0 ? "layui-this" : ""?>" href="<?=base_url("activity/HotContent/examineAll")?>">热门内容运营</a></dd>
                    <?php }?>
                    <?php if($this->userInfo["role_id"] == 1){?>
                        <dd><a class="<?=strpos("statistics/channel/index",$menu) === 0 ? "layui-this" : ""?>" href="<?=base_url("statistics/channel/index")?>">渠道管理</a></dd>
                    <?php }?>
                </dl>
            </li>
        </ul>
    </div>
</div>

<div class="layui-body">
    <!-- 内容主体区域 -->
    <div style="padding: 15px;">